package com.app.implementation.service;

import java.util.List;

import com.app.interfaces.interfaceDAO;
import com.app.interfaces.interfaceService;
import com.app.model.Service;

public class ServiceServiceImpl implements interfaceService {

	private interfaceDAO serviceDao;
    
	public void save(Object inst) {
        Service serv = (Service)inst;
        serviceDao.save(serv);
    }

    public void modify(Object inst) {
        Service serv = (Service)inst;
        serviceDao.modify(serv);
    }

    public void delete(Object inst) {
        Service serv = (Service)inst;
        serviceDao.delete(serv);
    }

    public List findAll() {
        return serviceDao.findAll();
    }

    public interfaceDAO getServiceDao() {
        return serviceDao;
    }

    public void setServiceDao(interfaceDAO serviceDao) {
        this.serviceDao = serviceDao;
    }

}
